<div class="add"><a class="zAdd" href="/admin/news_add">添加新闻</a></div>
<div class="sub">
	<div class="sub_id_6">序号</div>
	<div class="sub_title_6">标题</div>
	<div class="sub_class_6">分类</div>
	<div class="sub_promote_6">推荐</div>
	<div class="sub_creattime_6">创建时间</div>
	<div class="sub_edit_6">操作</div>
</div>
<div class="content">
<?php foreach($news as $key =>$value):?>
<div class="content_list">
	<div class="sub_id_6"><?=$key+1?></div>
	<div class="sub_title_6"><?=$value['News']['title']?></div>
	<div class="sub_class_6"><?=$value['News']['class_name']?></div>
	<div class="sub_promote_6"><?=$value['News']['news_index']?></div>
	<div class="sub_creattime_6"><?= date('Y-m-d ',strtotime($value['News']['create_time'])) ?></div>
	<div class="sub_edit_6"><a class="zChange" href="/admin/news_add?id=<?=$value['News']['id']?>">修改</a>&nbsp;&nbsp;<form method='post' action='/admin/news_manage?id=<?=$value['News']['id']?>&action=del' class="dataForm"><button type="submit" class="zDelect">删除</button></form></div>
</div>
<?php endforeach;?>
</div>
<?php $pagination_params = $this->Paginator->params(); 
	if($pagination_params['pageCount'] > 1):?>
	<?php echo $this->element('pagination');?>
<?php endif; ?>